package git.soulbgm.stats.gov.cn;

import java.util.ArrayList;
import java.util.List;

/**
 * 行政区划
 *
 * @author SoulBGM
 * @date 2022/10/17 17:56
 */
public class AdministrativeDivision {

    public String name;
    public String code;
    public List<AdministrativeDivision> child;

    public AdministrativeDivision(String name, String code) {
        this.name = name;
        this.code = code;
        this.child = new ArrayList<>();
    }

    @Override
    public String toString() {
        return "AdministrativeDivision{" +
                "name='" + name + '\'' +
                ", code='" + code + '\'' +
                ", child=" + child +
                '}';
    }

}
